home *** CD-ROM | disk | FTP | other *** search
/ CD Classic 39 / CD CLASSIC #39 (1998).iso / EMPRESA / visio / Vistdstd / Install / Data.Z / Ivisreg.H < prev    next >
C/C++ Source or Header  |  1996-08-08  |  893b  |  46 lines

  1. /*    IVISREG.H - Helper functions for starting Visio
  2.  *  Copyright (C) 1991-1996 Visio Corporation. All rights reserved.
  3.  */
  4.  
  5. #ifndef _IVISREG_H
  6. #define _IVISREG_H
  7.  
  8. #include "ivisauto.h"                        // Definition of LPVISIOAPPLICATION...
  9.  
  10. /*
  11.  *    Result codes for vaoGetVisio.
  12.  */
  13.  
  14. #define VAO_ERROR            0
  15. #define VAO_SUCCESS            1
  16. #define VAO_GET                2
  17. #define VAO_CREATE            3
  18. #define VAO_BAD_VERSION        4
  19. #define VAO_NOT_RUNNING        5
  20. #define VAO_NOT_INSTALLED    6
  21.  
  22.  
  23. /*
  24.  *    Function Prototypes
  25.  */
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31. short vaoGetObject(
  32.     LPVISIOAPPLICATION FAR *);                // Visio App Interface
  33.  
  34. short vaoGetVisio(                            // VAO_ result code
  35.     BOOL,                                    // TRUE => Get Active
  36.     BOOL,                                    // TRUE => Create New
  37.     LPVISIOAPPLICATION FAR *);                // Application Interface
  38.  
  39. HRESULT vaoGetLastError();
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44.  
  45. #endif /* _IVISREG_H */
  46.